/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kleintjes.behavioral.command_pattern.Impl;

import com.kleintjes.behavioral.command_pattern.Command;
import com.kleintjes.behavioral.command_pattern.model.Dinner;

/**
 *
 * @author Hughan.Kleintjes.hughanK@gmail.com
 */
public class DinnerCommand implements Command{
    Dinner dinner;
    
    public DinnerCommand(Dinner dinner) {
        this.dinner = dinner;
    }
    
    @Override
    public void execute() {
        dinner.makeDinner();
    }
    
}
